package com.ats.ereg.model.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ats.ereg.model.dao.TstCoursesDAO;
import com.ats.ereg.model.entities.TstCourses;


@Service("TstCoursesService")
public class TstCoursesService {
	
	@Autowired
	TstCoursesDAO tstCoursesDAO;
	
	public List<TstCourses> getAllItems(){
		return tstCoursesDAO.findAll();			
	}
}
